<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link href="css/index.css" rel="stylesheet" type="text/css" />
<title>JWebERP-Login</title>
#parse("/WEB-INF/views/base/base.html")
</head>
<body>
<script type="text/javascript">
var changeCode = function(_this){
	_this.src = "/randomCode.do?" + new Date().getTime();
}
</script>
<div class="container-login">
<div class="login-pic">
<div class="login-text">
<form id="loginForm" name="loginForm" method="post" action="login.do">
	<input type="hidden" name="cmd" value="checkLogin" />
	<table width="100%" border="0" cellpadding="0" cellspacing="0">
	  <tr>
		<td height="28" style="width:40px">用户名</td>
		<td colspan="2"><input name="userName" type="text" id="userName" value="$!userName" class="loginInput" /></td>
	  </tr>
	  <tr>
		<td height="31">密&nbsp;&nbsp;码</td>
		<td colspan="2"><input name="password" type="password" id="password" class="loginInput" /></td>
	  </tr>
	  <tr>
		<td height="30">验证码</td>
		<td style="width:55px;"><input name="randCode" type="text" id="randCode" class="loginInput" style="width:50px" /></td>
		<td><img title="点击更改验证码" style="cursor:pointer" onclick="changeCode(this)" src="randomCode.do" /></td>
	  </tr>
	  <tr>
		<td height="30">&nbsp;</td>
		<td colspan="2">
			<input type="image" src="../../../images/denglu_bg_03.gif" name="Image1" width="40" height="22" border="0" id="Image1" /><a href="#"><img src="../../../images/giveup_bg_03.gif" name="Image2" width="40" height="22" border="0" id="Image2" onclick="document.getElementById('loginForm').reset();return false;" /></a>
		</td>
	  </tr>
	</table>
</form>
</div>
</div>
</div>
</body>
</html>
